<?php
require_once (MLEngine . 'MakiFactory/MakiFactory.php');
require_once (MLDealers . 'ActionsDealer.php');
if (! empty ( $_REQUEST )) {
	$dealer = new ActionsDealer ();
	$boletin = new Boletin ();
	$boletin->setCodboletin ( $dealer->prepareRequest ( $_REQUEST, "codboletin", ActionsDealer::NUMBER));
	$boletin->getFreg ( time () );
	$boletin->getFact ( time () );
	$dealer->action ( $_REQUEST ['action'], $boletin );
} else {
	//$_REQUEST ['codboletin'] = 1;
	sino ();
}

function sino() {
	
	//header ( 'Location: ../index.php' );
	echo "no entro a ninguno";
}

?>